package at.fht.bwi.sem5.domain;

public class Address {
	
	public String street;
	public String postalCode;
	public String city;
	
	
	public Address(String street, String postalCode, String city) {
		this.street = street;
		this.postalCode = postalCode;
		this.city = city;
	}
	
	public String getStreet() {
		return street;
	}
	public void setStreet(String street) {
		this.street = street;
	}
	public String getPostalCode() {
		return postalCode;
	}
	public void setPostalCode(String postalCode) {
		this.postalCode = postalCode;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	
	@Override
	public String toString(){
		return this.street+"\n"+this.postalCode+"\n"+this.city;
	}
	
}
